Bug 553803 – eventually call XCloseDevice on XOpenDevice results
authorMatthias Clasen <matthiasc@src.gnome.org>
Sat, 27 Sep 2008 00:47:45 +0000 (00:47 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Sat, 27 Sep 2008 00:47:45 +0000 (00:47 +0000)
commitabe8d89fd9e7275c46e5556af2824a6fd2dbc787
tree02077776de62d6f8461660ca2d8077471ccc85f5
parent474033176effa187b02f0bcebb0d367d2bd13285
    Bug 553803 – eventually call XCloseDevice on XOpenDevice results

        * gdk/x11/gdkinput.c: Add a finalize function for device objects,
        and call XCloseDevice there.

        * gdk/x11/gdkinput-x11.c:
        * gdk/x11/gdkdisplay-x11.c: Move freeing of device objects to
        the finalize function.
        Patch by Caolan McNamara

svn path=/trunk/; revision=21529
ChangeLog
gdk/x11/gdkdisplay-x11.c
gdk/x11/gdkinput-x11.c
gdk/x11/gdkinput.c